//
// Created by 11510 on 2024/8/7.
//

#ifndef TB_RK3399PRO_RTSP_PROCESS_H
#define TB_RK3399PRO_RTSP_PROCESS_H
#ifndef _ON_DEMAND_SERVER_MEDIA_SUBSESSION_HH
#include "OnDemandServerMediaSubsession.hh"
#endif
#include "RTSPFramedSource.hh"
#include "liveMedia.hh"
#include "BasicUsageEnvironment.hh"

class rtsp_process {
public:
    char eventLoopWatchVariable;
    UsageEnvironment *env;

    unsigned long get_time(void);

    void announceStream(RTSPServer *rtspServer, ServerMediaSession *sms,
                        char const *streamName, char const *inputFileName);

    void init();

    int process();
};


#endif //TB_RK3399PRO_RTSP_PROCESS_H
